package com.ssly.media.manage.controller.view;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping
public class IndexController {
    @GetMapping({"", "down-task"})
    public String indexView() {
        return "down-task";
    }

    @GetMapping("convert-task")
    public String convertTaskView() {
        return "convert-task";
    }

    @GetMapping("create-convert-task")
    public String createConvertTaskView() {
        return "create-convert-task";
    }

    @GetMapping("create-down-task")
    public String createDownTaskView() {
        return "create-down-task";
    }

    @GetMapping("source-media")
    public String sourceMediaView() {
        return "source-media";
    }

    @GetMapping("target-media")
    public String targetMediaView() {
        return "target-media";
    }
}
